package com.xnyzc.lhy.order.entity.cms.driver;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author zhaolijie
 * @date 2019-08-24 16:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="接收司机车辆关联的信息", description="接收司机车辆关联的信息")
public class DriverVehicleInfo {

    @ApiModelProperty(value = "关联ID")
    @TableId(value="linked_id", type = IdType.INPUT)
    private Long linkedId;

    @ApiModelProperty(value = "司机user id")
    private Long driverId;

    @ApiModelProperty(value = "车辆ID")
    private Long vehicleId;

    @ApiModelProperty(value = "司机在线状态（0：在线、1：下线）")
    private Integer driverOnlineStatus;

    @ApiModelProperty(value = "是否正在使用(0：否、1：是）")
    private Integer isUse;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "手机号码")
    private String driverPhone;

    @ApiModelProperty(value = "用户姓名")
    private String driverName;

    @ApiModelProperty(value = "车牌号")
    private String vehNo;


    @ApiModelProperty(value = "车辆状态（0：空闲、1：维修中、2：使用中）")
    private Integer vehStatus;




}
